package edu.neu.cs6515.xml.w12;

import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@XmlRootElement
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class Register {
 
    @Setter
    private String name;
    
    @XmlAttribute
    public String getName(){
        return name;
    }
}
